package com.example.mobile2021606159yhf0521;

public class News {
    private int id;
    private String title;
    private String image;
    private String content;

    public News(int id, String title, String image, String content){
        this.id=id;
        this.title=title;
        this.image=image;
        this.content=content;
    }
    public int getId(){
        return id;
    }
    public void setId(int id){
        this.id=id;
    }
    public String getTitle(){
        return title;
    }
    public void setTitle(String title){
        this.title=title;
    }
    public String getImage(){
        return image;
    }
    public void setImage(String image){
        this.image=image;
    }
    public String getContent(){
        return content;
    }
    public void setContent(String content){
        this.content=content;
    }
}
